package xyz.robinbingo.leetcode.a20.b05.c07;

/**
 * Definition for a binary tree node.
 *
 * @author Robin
 * @date 2020/5/7 20:42
 **/
public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;

    TreeNode() {
    }

    TreeNode(int val) {
        this.val = val;
    }

    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
